package com.goodwill.androidtest.tree_test;

import com.goodwill.androidtest.tree_test.printer.BinaryTrees;
import com.goodwill.androidtest.tree_test.printer.Printer;

public class Main {
    public static void main(String[] args) {

        //创建HashMap
//        HashMap<Integer, String> map = new HashMap();
//        map.put(1, "guoxiaojun");

        BinarySearchTree<Integer> bst = new BinarySearchTree<>();
        bst.push(3);
        bst.push(7);
        bst.push(4);
        bst.push(6);
        bst.push(9);
        bst.push(2);

        BinaryTrees.println(bst);

    }
}
